home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #10 / Software USA Volume 4.10.iso / mac / Educational / HTML Vocabulary / HTML Vocabulary 2.0 / HTML Vocabulary 2.0.rsrc / TEXT_2100_Text Styles.txt < prev    next >
Text File  |  1996-09-28  |  5KB  |  119 lines

  1.  
  2. Physical Styles    
  3. <B>...</B>
  4. Changes the textstyle to bold.
  5.  
  6. <I>...</I>
  7. Changes the textstyle to italic.
  8.  
  9. <U>...</U>
  10. Changes the textstyle to underlined. Note that some people may think the text is a link if it's underlined. NS3 IE
  11.  
  12. <TT>...</TT>
  13. Changes the textstyle to a monotype font, usually Courier.
  14.  
  15. <S[TRIKE]>...</S[TRIKE]>
  16. Strikethrough style, which is text with a horizontal line through it. The abbreviational form does not work in older browsers like Netscape Navigator 2.0. (NS3 IE)
  17.  
  18. <SUP>...</SUP>
  19. Stands for 'superscript'.
  20.  
  21. <SUB>...</SUB>
  22. Stands for 'subscript'.
  23.  
  24. Logical Styles    
  25. <EM>...</EM>
  26. Emphasized text. Usually shows up in italics. This tag was a part of the first HTML-definition and, differently from the I-tag, it will have effect even in very old browsers.
  27.  
  28. <CITE>...</CITE>
  29. Indicates a citation, usually rendered in italics. 
  30.  
  31. <CODE>...</CODE>
  32. An example of machinecode. Usually shows up in a typewriter font like courier.
  33.  
  34. <KBD>...</KBD>
  35. Stands for 'user keyboard entry', which is text that could have been typed by the user, like an instructional example. Usually shows up in a typewriter font, like courier, and sometimes in bold.
  36.  
  37. <SAMP>...</SAMP>
  38. Stands for 'computer status message'. Usually hows up in a typewriter font, like Courier.
  39.  
  40. <STRONG>...</STRONG>
  41. Strongly emphasized text. Usually shows up in bold. This tag was a part of the first HTML-definition and, differently from the B-tag, it will have effect even in very old browsers.
  42.  
  43. <VAR>...</VAR>
  44. Stands for 'variable'. Usually rendered in italics.
  45.  
  46. <XMP>...</XMP>
  47. Stands for 'example', usually displayed in a typewrier font. Text within this tag will not be HTML-formatted, so you may put HTML-tags here that will be displayed in the browser as text.
  48.  
  49. <ADDRESS>..</ADDRESS>
  50. Text appears in italics. Use it in the end of the document to display the authors email address, for example. Some search engines may take notice on the text as information on the author.
  51.  
  52. <BLOCKQUOTE>...</BLOCKQUOTE>
  53. Use it to separate a text from the rest of the page by displaying it as an indented block of text.
  54.  
  55. <PLAINTEXT>...</PLAINTEXT>
  56. Temporarily turn off the HTML and displays the source, including linebreaks and multiple spaces. It seems like a simle way to put PLAINTEXT before and after a plain textfile and put it on the web, but it's not recommended.
  57.  
  58. <PRE [WIDTH="n¬†"]>...</PRE>
  59. Make the browser to display the text as it appears in the HTML code, including linebreaks and multiple spaces. WIDTH is the maximum length of a line in characters before it wraps. Links will work within PRE-formatted text.
  60.  
  61. <SPAN STYLE="cssAtributes¬†">...</SPAN>
  62. Defines style sheet formattings to the text, please see the Style Sheets-chapter.
  63.  
  64. <BLINK>...</BLINK>
  65. Used to make blinking text. Some people like it, some people does not. NS
  66.  
  67. <DFN>...</DFN>
  68. Stands for 'definition'. Usually shows up in italics  or bold italics.
  69.  
  70. <LISTING>...</LISTING>
  71. Works like the TT-tag.
  72.  
  73. Comments    
  74. <!-- ... -->
  75. Anything between <! and > are ignored by the browser. This is a useful tag to temporarily or definitily hide a text in the browser. As described in the Introduction to HTML-appendix, no browser will display what's inside this code. Many people uses comments as reminders for themselves or co-authors of the page, and they are also used to hide JavaScript and Stylesheet codes from older browsers. Don't use ">"-letters within the comments though.
  76.  
  77. Change Textsize    
  78. <FONT [SIZE="n¬†|+n¬†|-n¬†"] [COLOR="color¬†"] [FACE="fonts¬†">...</FONT>
  79. SIZE is a number between 1 (smallest text) and 7 (largest). You can also increase and reduce the size, for example +3. COLOR is the color of the text. FACE is a comma-separated list of fontnames. You may also change the default textsize with the BASEFONT-tag, and change the default textcolor with the BODY-tag.
  80.  
  81. <Hn [ALIGN="left|center|right"]>...</Hn>
  82. Stands for "header". n is a number between 1 (largest) and 6 (smallest). Headers are automatically surrounded by blank lines. ALIGN is the alignment of the header, by default the same as the surrounding text.
  83.  
  84. <BIG>...</BIG>
  85. Makes the text big.
  86.  
  87. <SMALL>...</SMALL>
  88. Makes the text small.
  89.  
  90. Scrolling Text    
  91. <MARQUEE...>...</MARQUEE>
  92. An auto-scrolling text. The following parameters can be used: IE
  93.  
  94. [WIDTH="n¬†|n¬†%" HEIGHT="n¬†|n¬†%"]
  95. Sets the width and height of the marquee.
  96.  
  97. [VSPACE="n¬†" HSPACE="n¬†"]
  98. Defines the space between the vertical and horizontal ends of the marquee.
  99.  
  100. [ALIGN="top|middle|bottom"]
  101. Sets the align of the marquee.
  102.  
  103. [BEHAVIOR="scroll|slide|alternate"]
  104. Defines the method for the marquee to be used. SCROLL scrolls the text from one side to the other and is the default value. SLIDE does the same, but stops when the text has reached the other side, and is still displayed. ALTERNATE bounces the text bteween the sides.
  105.  
  106. [DIRECTION="left|right"]
  107. Defines the side to start from.
  108.  
  109. [BGCOLOR="color "]
  110. Defines the background color for the marquee.
  111.  
  112. [LOOP="n |infinite"]
  113. Defines the number of loops for the text. INFINITE lopps until the page is closed.
  114.  
  115. [SCROLLAMOUNT="n "]
  116. Sets the number of pixels between succeeded drawn text scrolls.
  117.  
  118. [SCROLLDELAY="n "]
  119. Sets the number of miliseconds between succeeded drawn scrolls.